package com.gitee.magic.jdbc.persistence.source.jdbc.script.converter;

import com.gitee.magic.jdbc.persistence.source.jdbc.script.def.BaseColumnFieldScriptDef;

/**
 * @author start
 */
public class FieldBoolean extends BaseColumnFieldScriptDef {

	@Override
	public String buildScripts(int length, int dp) {
		return String.valueOf(getDataType())+"('true','false')";
	}

	@Override
	public String getDataType() {
		return "ENUM";
	}

}
